package com.kzj.controller;

import com.kzj.common.re.Result;
import com.kzj.xfxh.api.XfxhApiPlus;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
@CrossOrigin(origins = "/**")
@RestController
@RequestMapping("/ai")
@Api(tags = "ai相关接口")
public class AIController {
    @Autowired
    XfxhApiPlus xfxhApiPlus;
//    @ApiOperation("")
//    @GetMapping("/ask/{content}")
//    public Result ask(@PathVariable String content)
//    {
//        return Result.success(xfxhApiPlus.ask(content));
//    }
}
